package com.hong.spring.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Auther: csh
 * @Date: 2020/9/16 17:10
 * @Description:获取系统变量
 */
@Component
@Data
public class SystemInfo {
    @Value("${system.name}")
    private String systemName;
}
